package com.ranjiaqi.file;

import java.io.File;

/**
 * @ClassName list
 * @Description TODO
 * @Author hp
 * @Date 2021/7/1 10:02
 * @Version 1.0
 **/
public class list {
    public static void main(String[] args) {
        File file = new File("F:/java/day_01");
        File[] strs = file.listFiles();
        for (File str : strs) {
            System.out.println("str = " + str);
        }
    }
}
